import { FC } from "react";

interface PrimaryButtonProps {
  onClick(): void;
}

const PrimaryButton: FC<PrimaryButtonProps> = ({ children, onClick }) => (
  <button className="rpv-core__primary-button" onClick={onClick}>
    {children}
  </button>
);

export default PrimaryButton;
